<script id="linkbutton-template" type="text/x-dot-template">
    {{ for(var i=0;i<it.length;i++){ }}
        {{ if(it[i].isBtn == 1){ }}
            <a href="#" class="easyui-linkbutton"
                iconCls="icon icon16 {{=it[i].icon}}" onclick="{{=it[i].fun}}(this);">{{=it[i].name}}</a>
        {{ } }}
    {{ } }}
</script>

<script id="select-option-template" type="text/x-dot-template">
    {{ for(var i=0;i<it.length;i++){ }}
    <option value="{{=it[i].id}}">{{=it[i].txt}}</option>
    {{ } }}
</script>